package com.zking.seckillpro.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * �û���Ϣ��
 * </p>
 *
 * @author zking
 * @since 2022-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_user")
public class User implements Serializable {


    /**
     * �û�ID���ֻ�����
     */
    private Long id;

    /**
     * �ǳ�
     */
    private String nickname;

    /**
     * MD5(MD5(pass����+�̶�salt)+salt)
     */
    private String password;

    /**
     * ���salt
     */
    private String salt;

    /**
     * ע��ʱ��
     */
    private Date registerDate;

    /**
     * ���һ�ε�¼ʱ��
     */
    private Date lastLoginDate;

    /**
     * ��¼����
     */
    private Integer loginCount;


}
